package com.niiwoo.civet.account.service.lend;

import com.niiwoo.civet.account.dto.request.LendSuccessAccountingRequestDTO;
import com.niiwoo.civet.account.dto.response.LendSuccessAccountingResponseDTO;

/**
 * 标的放款记账服务
 * @author liaojunjun
 *
 */
public interface ProjectLendAccountingDubboService {

	/**
	 * 标的放款成功后记账
	 * @param requestDTO
	 * @return
	 */
	LendSuccessAccountingResponseDTO lendSuccessAccounting(LendSuccessAccountingRequestDTO requestDTO);

	default LendSuccessAccountingResponseDTO queryLendSuccessAccounting(Long projectId){
		throw new UnsupportedOperationException("unimplemented");
	}
}
